package com.king.exception;

import com.king.constant.ExceptionEnum;

public class DBConnectException extends AbstractException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5062213829737496921L;
	
	public int code() {
		return ExceptionEnum.DB_CONNECT_ERR.code;
	}
	
	@Override
	public String getMessage() {
		return ExceptionEnum.DB_CONNECT_ERR.msg;
	}

}
